package com.server.rest;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.QueryParam;

@Path(value = "echo")
public class Echo {
	@GET
	@Path(value = "/{message}")
	public String echoServicePath(@PathParam("message") String message)
	{
		return message;
	}
	
	@GET
	@Path(value = "/test")
	public String echoServiceQuery(@QueryParam("test") String test)
	{
		return test;
	}
}
